package com.hu.zhcc.shiro.dao;


import com.hu.zhcc.shiro.entity.bo.HealthIntervention.TemplateManagement;

import java.util.List;
import java.util.Map;

public interface TemplateManagementMapper {
    int deleteByPrimaryKey(Integer tempId);

    int insertSelective(TemplateManagement record);

    TemplateManagement selectByPrimaryKey(Integer tempId);
    //获取模板信息
    TemplateManagement findTemplateByCrux(String tempCrux);

    List<TemplateManagement> selectAllList(Map map);

    int updateByPrimaryKeySelective(TemplateManagement record);
    //禁用
    int updateByTemplateFalse(Integer tempId);
    //启用
    int updateByTemplateTrue(Integer tempId);
    //下拉框
    List<TemplateManagement> selectByStart();
}